package com.zhumo.sz.entity.bus;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * 长途客运站
 * id INT 自增id PRIMARY KEY
 * station_code VARCHAR 客运站唯一标识 PAIMARY KEY
 * station_name VARCHAR 客运站名称
 * district_code VARCHAR 市辖区编码
 * district  VARCHAR 所属市辖区
 * address TEXT 客运站详细地址
 * business_license_station_name VARCHAR 经营许可证上客运站名称
 * level INT 客运站等级
 * is_enabled TINYINT 是否可用
 * open_year VARCHAR 通车年份
 * version VARCHAR 版本号
 * create_time DATETIME 创建时间
 * update_time DATETIME 更新时间
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "长途客运站",description = "长途客运站明细表")
public class LengthBusStationInfo {

    @ExcelIgnore
    private Integer id;

    @ExcelProperty("序号")
    private String number;

    @ExcelProperty("站场代码")
    private String stationCode;

    @ExcelProperty("站场简称")
    private String stationName;

    @ExcelIgnore
    private String districtCode;

    @ExcelProperty("所属辖区")
    private String district;

    @ExcelProperty("地址")
    private String address;

    @ExcelProperty("经营许可证上载明站场名称")
    private String businessLicenseStationName;

    @ExcelIgnore
    private String level;

    @ExcelIgnore
    private Boolean isEnabled;

    @ExcelIgnore
    private String openYear;

    @ExcelIgnore
    private String version;

    @ExcelIgnore
    private Timestamp createTime;

    @ExcelIgnore
    private Timestamp updateTime;
}
